package com.lmc.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lmc.dao.UserDao;

import com.lmc.pojo.Student;

@Service("Userservice")
public class Userservice {
	@Resource(name="UserDao")
	private UserDao dao;
	
	
	public void setDao(UserDao dao) {
		this.dao = dao;
	}

	public UserDao getDao() {
		return dao;
	}

}